﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CustomerShow.aspx.cs" Inherits="CRM.Web.CustomerManage.CustomerShow" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <link href="<%= base.ResourcesPath + "Style/main.css" %>" rel="stylesheet" type="text/css" />
    <link href="<%= base.ResourcesPath + "Style/button.css" %>" rel="stylesheet" type="text/css" />
    <link href="<%= base.ResourcesPath + "Style/pop.css" %>" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/jquery-1.6.2.min.js" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/My97DatePicker/WdatePicker.js"  defer="defer" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/MaskTextBox.js" defer="defer"></script>
    
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/button.js"></script>
     <script type="text/javascript"  defer="defer" >

         $(document).ready(function() {

//             var scrollHeight = document.body.scrollHeight;
//             if (scrollHeight == 0) {
//                 scrollHeight = 300;
//             }
//             window.parent.document.getElementById('frameCustomer').style.height = (scrollHeight + 20) + 'px';


         });
        </script>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <table border="0" cellpadding="0" cellspacing="0" id="tTitle" style="display: none;">
        <tr>
            <td class="left">
                <img src="<%= base.ResourcesPath %>Images/title_left.gif" alt="" />
            </td>
            <td class="middle">
                <div class="pagetitle">
                    <div>
                        <asp:Label ID="lblTitle" runat="server"></asp:Label></div>
                </div>
            </td>
            <td class="right">
                <img src="<%= base.ResourcesPath %>Images/title_right.gif" alt="" />
            </td>
        </tr>
    </table>
    <div style="width: 100%; margin-top: 10px;">
        <div class="listdiv">
            <table border="0" cellpadding="0" cellspacing="0" class="table">
                <caption>
                </caption>
                <tr>
                    <td class="title">
                        <div class="nowrap">
                            客户代码:</div>
                    </td>
                    <td class="content">
                        <asp:TextBox ID="txtCUSTOMERCODE" runat="server" CssClass="txt" MaxLength="38" Rows="3"
                            TextMode="SingleLine"></asp:TextBox>
                        <asp:TextBox ID="txtCUSTOMERID" runat="server" CssClass="txt" MaxLength="38" Rows="3"
                            onkeyup="isPositiveInteger(this);" onbeforepaste="isClipboardPositiveInteger();"
                            TextMode="SingleLine" Visible="false"></asp:TextBox>
                    </td>
                    <td class="title">
                        <div class="nowrap">
                            <span class="mark">*</span>客户姓名:</div>
                    </td>
                    <td class="content">
                        <asp:TextBox ID="txtCUSTOMERNAME" runat="server" CssClass="txt" MaxLength="32" Rows="3"
                            TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvCUSTOMERNAME"
                                runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtCUSTOMERNAME"
                                Enabled="True"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="title">
                        <div class="nowrap">
                            <span class="mark">*</span>首选联系号码:</div>
                    </td>
                    <td class="content">
                        <asp:TextBox ID="txtFIRSTCONTACTTEL" runat="server" CssClass="txt txtFIRSTCONTACTTEL"
                            MaxLength="20" onkeyup="isPositiveInteger(this);" onbeforepaste="isClipboardPositiveInteger();"
                            Rows="3" TextMode="SingleLine"></asp:TextBox><input id="btnFIRSTCONTACTTELCall" type="button"
                                class="btn_call" control="txtFIRSTCONTACTTEL" /><asp:RequiredFieldValidator ID="rfvFIRSTCONTACTTEL"
                                    runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtFIRSTCONTACTTEL"
                                    Enabled="True"></asp:RequiredFieldValidator>
                    </td>
                    <td class="title">
                        <div class="nowrap">
                            首选联系方式:</div>
                    </td>
                    <td class="content">
                        <asp:DropDownList ID="ddlFIRSTCONTACTTYPE" runat="server" CssClass="ddl">
                        </asp:DropDownList>
                        <asp:RequiredFieldValidator ID="rfvFIRSTCONTACTTYPE" runat="server" ErrorMessage="*"
                            Display="Dynamic" ControlToValidate="ddlFIRSTCONTACTTYPE" Enabled="False"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="title">
                        <div class="nowrap">
                            手机号码:</div>
                    </td>
                    <td class="content">
                        <asp:TextBox ID="txtMOBILEPHONE" runat="server" CssClass="txt txtMOBILEPHONE" MaxLength="20"
                            Rows="3" onkeyup="isPositiveInteger(this);" onbeforepaste="isClipboardPositiveInteger();"
                            TextMode="SingleLine"></asp:TextBox><input id="btnMOBILEPHONE" type="button" class="btn_call"
                                control="txtMOBILEPHONE" /><asp:RequiredFieldValidator ID="rfvMOBILEPHONE" runat="server"
                                    ErrorMessage="*" Display="Dynamic" ControlToValidate="txtMOBILEPHONE" Enabled="False"></asp:RequiredFieldValidator>
                    </td>
                    <td class="title">
                        <div class="nowrap">
                            座机号码:</div>
                    </td>
                    <td class="content">
                        <asp:TextBox ID="txtHOMEPHONE" runat="server" CssClass="txt txtHOMEPHONE" MaxLength="20"
                            Rows="3" onkeyup="isPositiveInteger(this);" onbeforepaste="isClipboardPositiveInteger();"
                            TextMode="SingleLine"></asp:TextBox><input id="btnHOMEPHONE" type="button" class="btn_call"
                                control="txtHOMEPHONE" /><asp:RequiredFieldValidator ID="rfvHOMEPHONE" runat="server"
                                    ErrorMessage="*" Display="Dynamic" ControlToValidate="txtHOMEPHONE" Enabled="False"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="title">
                        <div class="nowrap">
                            国家:</div>
                    </td>
                    <td class="content">
                        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                            <ContentTemplate>
                                <asp:DropDownList ID="ddlCOUNTRY" runat="server" CssClass="ddl Country" AutoPostBack="True"
                                    OnSelectedIndexChanged="ddlCOUNTRY_SelectedIndexChanged">
                                </asp:DropDownList>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                    </td>
                    <td class="title">
                        <div class="nowrap">
                            省份:</div>
                    </td>
                    <td class="content">
                        <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                            <ContentTemplate>
                                <asp:DropDownList ID="ddlPROVINCE" runat="server" CssClass="ddl Province" OnSelectedIndexChanged="ddlPROVINCE_SelectedIndexChanged"
                                    AutoPostBack="true">
                                </asp:DropDownList>
                            </ContentTemplate>
                            <Triggers>
                                <asp:AsyncPostBackTrigger ControlID="ddlCOUNTRY" EventName="SelectedIndexChanged" />
                            </Triggers>
                        </asp:UpdatePanel>
                    </td>
                </tr>
                <tr>
                    <td class="title">
                        <div class="nowrap">
                            地级市:</div>
                    </td>
                    <td class="content">
                        <asp:UpdatePanel ID="UpdatePanel3" runat="server">
                            <ContentTemplate>
                                <asp:DropDownList ID="ddlPREFECTURECITY" runat="server" CssClass="ddl PrefectureCity"
                                    OnSelectedIndexChanged="ddlPREFECTURECITY_SelectedIndexChanged" AutoPostBack="true">
                                </asp:DropDownList>
                            </ContentTemplate>
                            <Triggers>
                                <asp:AsyncPostBackTrigger ControlID="ddlCOUNTRY" EventName="SelectedIndexChanged" />
                                <asp:AsyncPostBackTrigger ControlID="ddlPROVINCE" EventName="SelectedIndexChanged" />
                            </Triggers>
                        </asp:UpdatePanel>
                    </td>
                    <td class="title">
                        <div class="nowrap">
                            区/县/市:</div>
                    </td>
                    <td class="content">
                        <asp:UpdatePanel ID="UpdatePanel4" runat="server">
                            <ContentTemplate>
                                <asp:DropDownList ID="ddlCITY" runat="server" CssClass="ddl City" OnSelectedIndexChanged="ddlCITY_SelectedIndexChanged"
                                    AutoPostBack="true">
                                </asp:DropDownList>
                            </ContentTemplate>
                            <Triggers>
                                <asp:AsyncPostBackTrigger ControlID="ddlCOUNTRY" EventName="SelectedIndexChanged" />
                                <asp:AsyncPostBackTrigger ControlID="ddlPROVINCE" EventName="SelectedIndexChanged" />
                                <asp:AsyncPostBackTrigger ControlID="ddlPREFECTURECITY" EventName="SelectedIndexChanged" />
                            </Triggers>
                        </asp:UpdatePanel>
                    </td>
                </tr>
                <tr>
                    <td class="title">
                        <div class="nowrap">
                            乡/镇/街道:</div>
                    </td>
                    <td class="content">
                        <asp:TextBox ID="txtVILLAGETOWN" runat="server" CssClass="txt VillageTown" MaxLength="32"></asp:TextBox>
                    </td>
                    <td class="title">
                        <div class="nowrap">
                            村:</div>
                    </td>
                    <td class="content">
                        <asp:TextBox ID="txtVILLAGE" runat="server" CssClass="txt Village" MaxLength="64"
                            Rows="3" TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvVILLAGE"
                                runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtVILLAGE"
                                Enabled="False"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="title">
                        <div class="nowrap">
                            组/队:</div>
                    </td>
                    <td class="content">
                        <asp:TextBox ID="txtGROUPTEAM" runat="server" CssClass="txt txt90 Groupteam" MaxLength="64"
                            Rows="3" TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvGROUPTEAM"
                                runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtGROUPTEAM"
                                Enabled="False"></asp:RequiredFieldValidator>
                    </td>
                    <td class="title">
                        <div class="nowrap">
                            详细地址:</div>
                    </td>
                    <td class="content">
                        <asp:UpdatePanel ID="UpdatePanel7" runat="server">
                            <ContentTemplate>
                                <asp:TextBox ID="txtADDRESS" runat="server" CssClass="txt txt90 address" MaxLength="256"
                                    Rows="3" TextMode="SingleLine"></asp:TextBox>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                        <asp:RequiredFieldValidator ID="rfvADDRESS" runat="server" ErrorMessage="*" Display="Dynamic"
                            ControlToValidate="txtADDRESS" Enabled="False"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="title">
                        <div class="nowrap">
                            客户群:</div>
                    </td>
                    <td class="content">
                        <asp:DropDownList ID="ddlCUSTOMERBASE" runat="server" CssClass="ddl">
                        </asp:DropDownList>
                        <asp:RequiredFieldValidator ID="rfvCUSTOMERBASE" runat="server" ErrorMessage="*"
                            Display="Dynamic" ControlToValidate="ddlCUSTOMERBASE" Enabled="False"></asp:RequiredFieldValidator>
                    </td>
                    <td class="title">
                        <div class="nowrap">
                            客户类型:</div>
                    </td>
                    <td class="content">
                        <asp:DropDownList ID="ddlCUSTOMERTYPE" runat="server" CssClass="ddl">
                        </asp:DropDownList>
                        <asp:RequiredFieldValidator ID="rfvCUSTOMERTYPE" runat="server" ErrorMessage="*"
                            Display="Dynamic" ControlToValidate="ddlCUSTOMERTYPE" Enabled="False"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="title">
                        <div class="nowrap">
                            客户等级:</div>
                    </td>
                    <td class="content">
                        <asp:DropDownList ID="ddlCUSTOMERLEVEL" runat="server" CssClass="ddl">
                        </asp:DropDownList>
                        <asp:RequiredFieldValidator ID="rfvCUSTOMERLEVEL" runat="server" ErrorMessage="*"
                            Display="Dynamic" ControlToValidate="ddlCUSTOMERLEVEL" Enabled="False"></asp:RequiredFieldValidator>
                    </td>
                    <td class="title">
                        <div class="nowrap">
                            特殊类型:</div>
                    </td>
                    <td class="content">
                        <asp:DropDownList ID="ddlSPECIALTYPE" runat="server" CssClass="ddl">
                        </asp:DropDownList>
                        <span class="tips" style="margin-left: 10px; display: none;">(正常名单、黑名单、红名单)</span>
                    </td>
                </tr>
                <tr>
                    <td class="title">
                        <div class="nowrap">
                            大客户类型:</div>
                    </td>
                    <td class="content">
                        <asp:DropDownList ID="ddlBIGCUSTOMERTYPE" runat="server" CssClass="ddl">
                        </asp:DropDownList>
                        <asp:RequiredFieldValidator ID="rfvBIGCUSTOMERTYPE" runat="server" ErrorMessage="*"
                            Display="Dynamic" ControlToValidate="ddlBIGCUSTOMERTYPE" Enabled="False"></asp:RequiredFieldValidator>
                    </td>
                    <td class="title">
                        <div class="nowrap">
                            状态:</div>
                    </td>
                    <td class="content">
                        <asp:DropDownList ID="ddlSTATUS" runat="server" CssClass="ddl">
                        </asp:DropDownList>
                        <asp:RequiredFieldValidator ID="rfvSTATUS" runat="server" ErrorMessage="*" Display="Dynamic"
                            ControlToValidate="ddlSTATUS" Enabled="False"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="title">
                        <div class="nowrap">
                            证件号码:</div>
                    </td>
                    <td class="content">
                        <asp:TextBox ID="txtIDNUMBER" runat="server" CssClass="txt" MaxLength="32" Rows="3"
                            TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvIDNUMBER"
                                runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtIDNUMBER"
                                Enabled="False"></asp:RequiredFieldValidator>
                    </td>
                    <td class="title">
                        <div class="nowrap">
                            邮件地址:</div>
                    </td>
                    <td class="content">
                        <asp:TextBox ID="txtEMAIL" runat="server" CssClass="txt" MaxLength="128" Rows="3"
                            TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvEMAIL" runat="server"
                                ErrorMessage="*" Display="Dynamic" ControlToValidate="txtEMAIL" Enabled="False"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="title">
                        <div class="nowrap">
                            邮编:</div>
                    </td>
                    <td class="content">
                        <asp:TextBox ID="txtZIPCODE" runat="server" CssClass="txt" MaxLength="16" Rows="3"
                            TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvZIPCODE" runat="server"
                                ErrorMessage="*" Display="Dynamic" ControlToValidate="txtZIPCODE" Enabled="False"></asp:RequiredFieldValidator>
                    </td>
                    <td class="title">
                        <div class="nowrap">
                            传真:</div>
                    </td>
                    <td class="content">
                        <asp:TextBox ID="txtFAX" runat="server" CssClass="txt" MaxLength="20" Rows="3" TextMode="SingleLine"
                            onkeyup="isPositiveInteger(this);" onbeforepaste="isClipboardPositiveInteger();"></asp:TextBox><asp:RequiredFieldValidator
                                ID="rfvFAX" runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtFAX"
                                Enabled="False"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="title">
                        <div class="nowrap">
                            网站地址:</div>
                    </td>
                    <td class="content">
                        <asp:TextBox ID="txtURL" runat="server" CssClass="txt txt90" MaxLength="128" Rows="3"
                            TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvURL" runat="server"
                                ErrorMessage="*" Display="Dynamic" ControlToValidate="txtURL" Enabled="False"></asp:RequiredFieldValidator>
                    </td>
                    <td class="title">
                        <div class="nowrap">
                            生日:</div>
                    </td>
                    <td class="content">
                        <asp:TextBox ID="txtBIRTHDATE" runat="server" CssClass="txt" MaxLength="20" Rows="3"
                            TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvBIRTHDATE"
                                runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtBIRTHDATE"
                                Enabled="False"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="title">
                        <div class="nowrap">
                            备注:</div>
                    </td>
                    <td class="content" colspan="3">
                        <asp:TextBox ID="txtREMARK" runat="server" CssClass="txt txt90" MaxLength="128" Rows="3"
                            TextMode="MultiLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvREMARK" runat="server"
                                ErrorMessage="*" Display="Dynamic" ControlToValidate="txtREMARK" Enabled="False"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="title">
                        <div class="nowrap">
                            是否接受短信:</div>
                    </td>
                    <td class="content">
                        <asp:RadioButton ID="rbISACCEPTSMS0" runat="server" GroupName="rbISACCEPTSMS" ValidationGroup="rbISACCEPTSMS"
                            Text="否" />
                        <asp:RadioButton ID="rbISACCEPTSMS1" runat="server" GroupName="rbISACCEPTSMS" ValidationGroup="rbISACCEPTSMS"
                            Text="是" Checked="true" />
                    </td>
                    <td class="title">
                        <div class="nowrap">
                            是否接受资料:</div>
                    </td>
                    <td class="content">
                        <asp:RadioButton ID="rbISACCEPTINFORMATION0" runat="server" GroupName="rbISACCEPTINFORMATION"
                            ValidationGroup="rbISACCEPTINFORMATION" Text="否" Checked="true" />
                        <asp:RadioButton ID="rbISACCEPTINFORMATION1" runat="server" GroupName="rbISACCEPTINFORMATION"
                            ValidationGroup="rbISACCEPTINFORMATION" Text="是" />
                    </td>
                </tr>
                <tr>
                    <td class="title">
                        <div class="nowrap">
                            成为客户日期:</div>
                    </td>
                    <td class="content">
                        <asp:TextBox ID="txtBECOMEDATE" runat="server" CssClass="txt" MaxLength="20" Rows="3"
                            TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvBECOMEDATE"
                                runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtBECOMEDATE"
                                Enabled="False"></asp:RequiredFieldValidator>
                    </td>
                    <td class="title">
                        <div class="nowrap">
                            购买台数:</div>
                    </td>
                    <td class="content">
                        <asp:TextBox ID="txtPURCHASENUMBER" runat="server" CssClass="txt" MaxLength="8" Rows="3"
                            TextMode="SingleLine" onkeyup="isPositiveInteger(this);" onbeforepaste="isClipboardPositiveInteger();"></asp:TextBox><asp:RequiredFieldValidator
                                ID="rfvPURCHASENUMBER" runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtPURCHASENUMBER"
                                Enabled="False"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="title">
                        <div class="nowrap">
                            所属事业部:</div>
                    </td>
                    <td class="content">
                        <asp:UpdatePanel ID="UpdatePanel6" runat="server">
                            <ContentTemplate>
                                <asp:DropDownList ID="ddlBUSINESSDIVISIONID" runat="server" CssClass="ddl" OnSelectedIndexChanged="ddlBUSINESSDIVISIONID_SelectedIndexChanged"
                                    AutoPostBack="true">
                                </asp:DropDownList>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                        <asp:RequiredFieldValidator ID="rfvBUSINESSDIVISIONID" runat="server" ErrorMessage="*"
                            Display="Dynamic" ControlToValidate="ddlBUSINESSDIVISIONID" Enabled="False"></asp:RequiredFieldValidator>
                    </td>
                    <td class="title">
                    </td>
                    <td class="content">
                    </td>
                </tr>
                <tr>
                    <td class="title">
                        <div class="nowrap">
                            创建人:</div>
                    </td>
                    <td class="content">
                        <asp:TextBox ID="txtCREATEPEOPLE" runat="server" CssClass="txt" MaxLength="32" Rows="3"
                            TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvCREATEPEOPLE"
                                runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtCREATEPEOPLE"
                                Enabled="False"></asp:RequiredFieldValidator>
                    </td>
                    <td class="title">
                        <div class="nowrap">
                            创建时间:</div>
                    </td>
                    <td class="content">
                        <asp:TextBox ID="txtCREATETIME" runat="server" CssClass="txt" MaxLength="20" Rows="3"
                            TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvCREATETIME"
                                runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtCREATETIME"
                                Enabled="False"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="title">
                        <div class="nowrap">
                            最后修改人:</div>
                    </td>
                    <td class="content">
                        <asp:TextBox ID="txtLASTMODIFYPEOPLE" runat="server" CssClass="txt" MaxLength="32"
                            Rows="3" TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvLASTMODIFYPEOPLE"
                                runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtLASTMODIFYPEOPLE"
                                Enabled="False"></asp:RequiredFieldValidator>
                    </td>
                    <td class="title">
                        <div class="nowrap">
                            最后修改时间:</div>
                    </td>
                    <td class="content">
                        <asp:TextBox ID="txtLASTMODIFYTIME" runat="server" CssClass="txt" MaxLength="20"
                            Rows="3" TextMode="SingleLine"></asp:TextBox><asp:RequiredFieldValidator ID="rfvLASTMODIFYTIME"
                                runat="server" ErrorMessage="*" Display="Dynamic" ControlToValidate="txtLASTMODIFYTIME"
                                Enabled="False"></asp:RequiredFieldValidator>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    </form>
</body>
</html>
